#include <iostream>

using namespace std;

class base1 {
	public:
		int m_A = 100;

};

class base2 {
	public:
		int m_A = 200;
};

class son: public base1, public base2 {
	public:
		int m_A = 0;
};

void test1() {
	son s1;

	cout << s1.m_A << endl;
	cout << s1.base1::m_A << endl;
	cout << s1.base2::m_A << endl;
}

int main() {
	test1();
	return 0;
}